Rank of Matrix in R|Programing Transpose